package com.west.common.app.gson;

import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.west.common.uitils.TLog;

import java.lang.reflect.Type;

/**
 * @author qiujuer Email:qiujuer@live.cn
 * @version 1.0.0
 */

public class ImageJsonDeserializer implements JsonDeserializer<Object> {

    @Override
    public Object deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) throws JsonParseException {
        try {
            if (json.isJsonObject()) {

            }
        } catch (Exception e) {
            TLog.error("ImageJsonDeserializer-deserialize-error:" + (json != null ? json.toString() : ""));
        }
        return null;
    }

}